package cn.wolfcode.domain;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class Department {
    /** */
    private Long id;

    /** */
    private String name;

    /** */
    private String sn;

 /*   public String getJson() {
        Map<String, Object> map = new HashMap<>();
        map.put("id",id);
        map.put("name",name);
        map.put("sn",sn);

        return JSON.toJSONString(map);
    }*/
}